.ai-assistant-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.ai-assistant-tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ai-assistant-tab-chat {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ai-assistant-chat-row {
  display: flex;
  height: 100%;
}

.ai-assistant-chat-main {
  flex: 1;
  height: 100%;
  margin-right: 16px;
  display: flex;
  flex-direction: column;
}

.ai-assistant-chat-component {
  height: 100%;
}

.ai-assistant-chat-side {
  width: 300px;
  height: 100%;
  overflow-y: auto;
}

.ai-assistant-chat-side :global(.ant-card){
  height: 100%;
}

.ai-assistant-chat-side :global(.ant-card-body){
  max-height: calc(100% - 38px);
  overflow-y: auto;
}

.ai-assistant-agent-card {
  margin-bottom: 16px;
}

.ai-assistant-agent-select {
  width: 100%;
}

.ai-assistant-history-text {
  max-width: 80%;
} 


.ai-assistant-history-header-title{
  margin-left: 5px;
}

.ai-assistant-history-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-assistant-history-newChat{
  background-color: #ffffff;
}

.ai-assistant-history-newChat:hover{
  border: none;
}